package com.zkthink.ceres.product.vo;

import com.zkthink.ceres.product.entity.ProductContributionConfig;
import com.zkthink.ceres.product.entity.ProductDiscContriConfig;
import com.zkthink.ceres.product.entity.ProductDiscountConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("后台商品列表对象")
public class AdminProductVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品id")
    private Long id;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品主图")
    private String productImg;

    @ApiModelProperty("销售价")
    private Long price;

    @ApiModelProperty("原价")
    private Long applyPrice;

    @ApiModelProperty("库存")
    private Integer stock;

    @ApiModelProperty("销量")
    private Integer sellCount;

    @ApiModelProperty("状态 1-上架 0-下架")
    private Integer status;

    @ApiModelProperty("平台贡献值设置")
    private ProductContributionConfig productContributionConfig;

    @ApiModelProperty("会员买商品的折扣和贡献值分配设置")
    private ProductDiscContriConfig productDiscContriConfig;

    @ApiModelProperty("折扣配置表")
    private ProductDiscountConfig productDiscountConfig;
}
